<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="index.css">
</head>
<body>
</body>
<script src="index.js"></script>
<script>
    var config = {
        imgArr:['a.jpg', 'b.jpg', 'c.jpg', 'd.jpg', 'e.jpg']
    }
    var carousel = new carousel(config);
</script>
</html>